import {createRouter, createWebHashHistory} from 'vue-router'
import HomeVue from '../views/Home/Home.vue'
import UserVue from '../views/User/User.vue'
import AnalysisVue from '../components/Analysis/Analysis.vue'

const router = createRouter({
	history: createWebHashHistory(),
	routes: [
		{
			path: '/',
			redirect: 'home'
		},
		{
			path: '/home',
			component: HomeVue
		},
		{
			path: '/analysis',
			component: AnalysisVue
		},
		{
			path: '/user',
			component: UserVue
		}
	]
})

export default router
